/* ============================================================
   THEME v5 / VANGUARD (v2.2.0)
   Harmonized Architectural White & Executive Teal Theme
   All classes prefixed .tv5- — All custom properties prefixed --tv5-
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ============================================================
   1. UNIFIED DESIGN TOKENS (HARMONIZED COLOR SYSTEM)
   ============================================================ */
:root {
  /* Typography */
  --tv5-font-display: 'Plus Jakarta Sans', sans-serif;
  --tv5-font-body: 'Plus Jakarta Sans', sans-serif;
  --tv5-font-mono: 'Space Grotesk', monospace, sans-serif;

  /* Color Palette — Clean White & Subtle Alabaster */
  --tv5-bg: #FFFFFF;
  --tv5-bg-surface: #F8FAFC;
  --tv5-bg-soft: #F1F5F9;
  --tv5-bg-card: #FFFFFF;
  --tv5-bg-card-hover: #F8FAFC;
  --tv5-bg-glass: rgba(255, 255, 255, 0.94);

  /* Unified Single Brand Accent: Imperial Architectural Gold */
  --tv5-primary: #B5852A;
  --tv5-primary-hover: #966B1C;
  --tv5-primary-soft: #FDF8EE;
  --tv5-primary-border: rgba(181, 133, 42, 0.25);
  --tv5-primary-glow: rgba(181, 133, 42, 0.16);

  /* Inks & Text */
  --tv5-ink: #0F172A;
  --tv5-ink-muted: #475569;
  --tv5-ink-subtle: #64748B;
  --tv5-ink-light: #94A3B8;

  /* Hairlines & Borders */
  --tv5-border: #E2E8F0;
  --tv5-border-strong: #CBD5E1;

  /* Radii */
  --tv5-radius-sm: 8px;
  --tv5-radius-md: 12px;
  --tv5-radius-lg: 18px;
  --tv5-radius-xl: 24px;
  --tv5-radius-pill: 9999px;

  /* Shadows */
  --tv5-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --tv5-shadow-md: 0 4px 16px -2px rgba(181, 133, 42, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --tv5-shadow-lg: 0 20px 40px -8px rgba(181, 133, 42, 0.18), 0 8px 16px -4px rgba(15, 23, 42, 0.05);

  /* Container & Timing */
  --tv5-container: 1280px;
  --tv5-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tv5-transition: all 0.22s var(--tv5-ease);
}

/* ============================================================
   2. BASE & DECORATIVE BACKGROUNDS
   ============================================================ */
html:has(.tv5-page) {
  overflow-x: hidden;
  overflow-x: clip;
  background-color: var(--tv5-bg);
}

body:has(.tv5-page) {
  background-color: var(--tv5-bg);
  color: var(--tv5-ink);
  min-height: 100vh;
}

.tv5-page {
  font-family: var(--tv5-font-body);
  color: var(--tv5-ink);
  background-color: var(--tv5-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  width: 100%;
  overflow-x: clip;
}

.tv5-page * {
  box-sizing: border-box;
}

.tv5-page a {
  color: inherit;
  text-decoration: none;
  transition: var(--tv5-transition);
}

.tv5-page img,
.tv5-page video {
  max-width: 100%;
  height: auto;
  display: block;
}

.tv5-container {
  width: 100%;
  max-width: var(--tv5-container);
  margin-inline: auto;
  padding-inline: 20px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .tv5-container {
    padding-inline: 32px;
  }
}

@media (min-width: 1200px) {
  .tv5-container {
    padding-inline: 40px;
  }
}

/* General Subtle Decorative Background Elements */
.tv5-dec-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(181, 133, 42, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(181, 133, 42, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 1;
}

.tv5-ambient-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 133, 42, 0.09) 0%, rgba(181, 133, 42, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.tv5-ambient-glow--top-right {
  top: -120px;
  right: -100px;
}

.tv5-ambient-glow--bottom-left {
  bottom: -120px;
  left: -100px;
}

.tv5-dec-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(181, 133, 42, 0.12);
  pointer-events: none;
  z-index: 1;
}

.tv5-dec-ring--1 {
  width: 320px;
  height: 320px;
  top: 10%;
  right: -60px;
}

.tv5-dec-ring--2 {
  width: 480px;
  height: 480px;
  top: 5%;
  right: -140px;
}

/* ============================================================
   3. TYPOGRAPHY & SECTION HEADERS
   ============================================================ */
.tv5-subheading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tv5-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tv5-primary);
  margin-bottom: 12px;
}

.tv5-subheading::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--tv5-primary);
  border-radius: 2px;
}

.tv5-section-title {
  font-family: var(--tv5-font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--tv5-ink);
}

.tv5-text-gradient {
  color: var(--tv5-primary);
}

.tv5-section-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--tv5-ink-muted);
  max-width: 62ch;
  margin-top: 12px;
}

.tv5-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tv5-section {
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .tv5-section {
    padding: 96px 0;
  }
}

.tv5-section--surface {
  background-color: var(--tv5-bg-surface);
  border-top: 1px solid var(--tv5-border);
  border-bottom: 1px solid var(--tv5-border);
}

/* ============================================================
   4. UNIFIED BADGES & PULSE
   ============================================================ */
.tv5-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--tv5-radius-pill);
  font-family: var(--tv5-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--tv5-primary-soft);
  color: var(--tv5-primary);
  border: 1px solid var(--tv5-primary-border);
}

.tv5-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tv5-primary);
  box-shadow: 0 0 0 0 rgba(181, 133, 42, 0.6);
  animation: tv5-pulse 2s infinite;
}

@keyframes tv5-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(181, 133, 42, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(181, 133, 42, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(181, 133, 42, 0); }
}

.tv5-badge--amber,
.tv5-badge--emerald {
  background: var(--tv5-primary-soft);
  color: var(--tv5-primary);
  border: 1px solid var(--tv5-primary-border);
}

.tv5-pulse-dot--amber,
.tv5-pulse-dot--emerald {
  background: var(--tv5-primary);
  box-shadow: 0 0 0 0 rgba(181, 133, 42, 0.6);
}

/* ============================================================
   5. UNIFIED BUTTONS
   ============================================================ */
.tv5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--tv5-radius-sm);
  font-family: var(--tv5-font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--tv5-transition);
  white-space: nowrap;
}

.tv5-btn--primary,
a.tv5-btn--primary,
button.tv5-btn--primary {
  background: var(--tv5-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--tv5-primary) !important;
  box-shadow: 0 4px 14px rgba(181, 133, 42, 0.28);
  text-decoration: none !important;
}

.tv5-btn--primary:hover,
.tv5-btn--primary:focus,
.tv5-btn--primary:active,
a.tv5-btn--primary:hover,
a.tv5-btn--primary:focus,
a.tv5-btn--primary:active,
button.tv5-btn--primary:hover,
button.tv5-btn--primary:focus,
button.tv5-btn--primary:active {
  background: var(--tv5-primary-hover) !important;
  border-color: var(--tv5-primary-hover) !important;
  color: #FFFFFF !important; /* TEXT DOES NOT CHANGE ON HOVER — ALWAYS PURE WHITE */
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(181, 133, 42, 0.38);
  text-decoration: none !important;
}

.tv5-btn--primary *,
.tv5-btn--primary:hover *,
.tv5-btn--primary:focus *,
.tv5-btn--primary:active *,
a.tv5-btn--primary *,
a.tv5-btn--primary:hover *,
button.tv5-btn--primary *,
button.tv5-btn--primary:hover * {
  color: #FFFFFF !important;
  fill: currentColor !important;
}

.tv5-btn--outline,
a.tv5-btn--outline,
button.tv5-btn--outline {
  background: #FFFFFF !important;
  color: var(--tv5-primary) !important;
  border-color: var(--tv5-primary) !important;
  text-decoration: none !important;
}

.tv5-btn--outline:hover,
.tv5-btn--outline:focus,
.tv5-btn--outline:active,
a.tv5-btn--outline:hover,
a.tv5-btn--outline:focus,
a.tv5-btn--outline:active,
button.tv5-btn--outline:hover,
button.tv5-btn--outline:focus,
button.tv5-btn--outline:active {
  background: var(--tv5-primary) !important;
  border-color: var(--tv5-primary) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(181, 133, 42, 0.28);
  text-decoration: none !important;
}

.tv5-btn--outline:hover *,
a.tv5-btn--outline:hover *,
button.tv5-btn--outline:hover * {
  color: #FFFFFF !important;
  fill: currentColor !important;
}

.tv5-btn--header,
a.tv5-btn--header,
button.tv5-btn--header {
  padding: 9px 18px;
  font-size: 0.82rem;
  color: #FFFFFF !important;
}

.tv5-btn--header:hover,
a.tv5-btn--header:hover,
button.tv5-btn--header:hover {
  color: #FFFFFF !important;
}

.tv5-btn--lg,
a.tv5-btn--lg,
button.tv5-btn--lg {
  padding: 16px 32px;
  font-size: 0.95rem;
  color: #FFFFFF !important;
}

.tv5-btn--full {
  width: 100%;
}

.tv5-link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tv5-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tv5-primary);
  transition: var(--tv5-transition);
}

.tv5-link-button:hover {
  color: var(--tv5-primary-hover);
  transform: translateX(4px);
}

.tv5-icon-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--tv5-ease);
}

.tv5-link-button:hover .tv5-icon-arrow {
  transform: translateX(4px);
}

/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */
.tv5-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tv5-border);
}

.tv5-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--tv5-container);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .tv5-header-inner {
    padding-inline: 32px;
    height: 80px;
  }
}

.tv5-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tv5-brand-logo {
  height: 38px;
  max-width: 150px;
  display: flex;
  align-items: center;
}

.tv5-brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.tv5-brand-logo img[src=""],
.tv5-brand-logo img:not([src]) {
  display: none !important;
}

.tv5-brand-name {
  font-family: var(--tv5-font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tv5-ink);
}

.tv5-nav {
  display: none;
}

@media (min-width: 1024px) {
  .tv5-nav {
    display: flex;
    align-items: center;
  }
}

.tv5-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tv5-nav-item {
  position: relative;
}

@media (min-width: 1024px) {
  .tv5-nav-item--mega {
    position: static !important;
  }
}

.tv5-nav-link {
  font-family: var(--tv5-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tv5-ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  position: relative;
  transition: color 0.2s var(--tv5-ease);
}

.tv5-nav-link:hover,
.tv5-nav-link--active {
  color: var(--tv5-primary);
}

.tv5-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--tv5-primary);
  transition: width 0.2s var(--tv5-ease);
}

.tv5-nav-link:hover::after,
.tv5-nav-link--active::after {
  width: 100%;
}

.tv5-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-sm);
  padding: 8px;
  box-shadow: var(--tv5-shadow-md);
  list-style: none;
  margin-top: 8px;
  z-index: 100;
}

.tv5-dropdown-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--tv5-ink-muted);
  border-radius: 4px;
}

.tv5-dropdown-link:hover {
  background: var(--tv5-primary-soft);
  color: var(--tv5-primary);
}

/* Mega Menu */
.tv5-mega-menu {
  position: absolute;
  top: 100%;
  left: 20px;
  right: 20px;
  max-width: 1140px;
  margin-inline: auto;
  width: auto;
  background: #FFFFFF;
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-md);
  padding: 24px;
  box-shadow: var(--tv5-shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  z-index: 100;
  margin-top: 6px;
}

@media (min-width: 768px) {
  .tv5-mega-menu {
    left: 32px;
    right: 32px;
  }
}

@media (max-width: 1160px) {
  .tv5-mega-menu {
    gap: 16px;
    padding: 20px;
    grid-template-columns: 1fr 1.15fr 1fr;
  }
}

.tv5-mega-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.tv5-mega-col-title {
  font-family: var(--tv5-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tv5-primary);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--tv5-border);
}

.tv5-mega-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tv5-mega-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 4px;
  font-size: 0.86rem;
  color: var(--tv5-ink-muted);
}

.tv5-mega-cat-link:hover {
  background: var(--tv5-primary-soft);
  color: var(--tv5-primary);
}

.tv5-mega-cat-count {
  font-family: var(--tv5-font-mono);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--tv5-bg-soft);
  color: var(--tv5-ink-subtle);
}

.tv5-mega-product-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--tv5-radius-sm);
  border: 1px solid var(--tv5-border);
  background: var(--tv5-bg-surface);
  margin-bottom: 8px;
}

.tv5-mega-product-img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
}

.tv5-mega-product-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tv5-ink);
  margin: 0 0 2px 0;
}

.tv5-mega-product-cat {
  font-size: 0.74rem;
  color: var(--tv5-primary);
  font-family: var(--tv5-font-mono);
}

.tv5-mega-banner-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: var(--tv5-radius-sm);
  background: var(--tv5-primary-soft);
  border: 1px solid var(--tv5-primary-border);
}

.tv5-mega-banner-badge {
  font-family: var(--tv5-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tv5-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tv5-mega-banner-title {
  font-family: var(--tv5-font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--tv5-ink);
  margin: 0 0 6px 0;
}

.tv5-mega-banner-desc {
  font-size: 0.82rem;
  color: var(--tv5-ink-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.tv5-mega-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--tv5-primary);
  color: #FFFFFF;
  font-family: var(--tv5-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tv5-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv5-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--tv5-bg-surface);
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-sm);
  color: var(--tv5-ink);
  cursor: pointer;
  transition: var(--tv5-transition);
}

.tv5-nav-toggle svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 1024px) {
  .tv5-nav-toggle {
    display: none;
  }
}

/* ============================================================
   MOBILE HEADER COMPACT REFINEMENTS (Company Name, RFQ, Nav Icon)
   ============================================================ */
@media (max-width: 767px) {
  .tv5-header-inner {
    height: 56px;
    padding-inline: 14px;
  }

  /* 1. Company Name (Brand Name) Smaller */
  .tv5-brand {
    gap: 8px;
    max-width: calc(100vw - 180px);
  }

  .tv5-brand-logo {
    height: 26px;
    max-width: 80px;
  }

  .tv5-brand-name {
    font-size: 0.92rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Header Actions Cluster */
  .tv5-header-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  /* 2. RFQ Button Smaller */
  .tv5-btn--header,
  a.tv5-btn--header,
  button.tv5-btn--header {
    padding: 6px 11px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.02em;
    gap: 5px;
    border-radius: 4px;
  }

  /* 3. Navbar Hamburger Icon Smaller */
  .tv5-nav-toggle {
    width: 32px;
    height: 32px;
    border-radius: 4px;
  }

  .tv5-nav-toggle svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
  }
}

@media (max-width: 380px) {
  .tv5-header-inner {
    height: 52px;
    padding-inline: 10px;
  }

  .tv5-brand {
    max-width: calc(100vw - 165px);
    gap: 6px;
  }

  .tv5-brand-logo {
    height: 22px;
    max-width: 65px;
  }

  .tv5-brand-name {
    font-size: 0.82rem;
  }

  .tv5-btn--header,
  a.tv5-btn--header,
  button.tv5-btn--header {
    padding: 5px 8px !important;
    font-size: 0.66rem !important;
  }

  .tv5-nav-toggle {
    width: 30px;
    height: 30px;
  }

  .tv5-nav-toggle svg {
    width: 14px;
    height: 14px;
  }
}

.tv5-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1040;
}

.tv5-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 85vw);
  background: #FFFFFF;
  border-left: 1px solid var(--tv5-border);
  padding: 24px;
  z-index: 1050;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
}

.tv5-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tv5-border);
  margin-bottom: 20px;
}

.tv5-mobile-drawer-title {
  font-family: var(--tv5-font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--tv5-ink);
}

.tv5-mobile-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--tv5-radius-sm);
  background: var(--tv5-bg-surface);
  border: 1px solid var(--tv5-border);
  color: var(--tv5-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tv5-mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.tv5-mobile-nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tv5-ink);
  padding: 10px 12px;
  border-radius: var(--tv5-radius-sm);
  background: var(--tv5-bg-surface);
}

.tv5-mobile-nav-link:hover {
  background: var(--tv5-primary-soft);
  color: var(--tv5-primary);
}

.tv5-header-edit-bar {
  background: var(--tv5-bg-surface);
  border-bottom: 1px solid var(--tv5-border);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv5-header-edit-btn {
  background: var(--tv5-primary);
  color: #FFFFFF;
  font-family: var(--tv5-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--tv5-radius-sm);
  border: none;
  cursor: pointer;
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.tv5-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--tv5-border);
  overflow: hidden;
}

@media (min-width: 992px) {
  .tv5-hero {
    min-height: 84vh;
    padding: 72px 0 96px;
  }
}

.tv5-hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.1;
}

.tv5-hero-bg-media img,
.tv5-hero-bg-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv5-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0.85) 100%);
  z-index: 1;
}

.tv5-hero-bg-change-hint {
  position: absolute;
  top: 90px;
  right: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #FFFFFF;
  color: var(--tv5-primary);
  border: 1px dashed var(--tv5-primary);
  border-radius: var(--tv5-radius-sm);
  font-family: var(--tv5-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--tv5-shadow-sm);
}

.tv5-hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .tv5-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
}

.tv5-hero-copy {
  display: flex;
  flex-direction: column;
}

.tv5-hero-badge-wrap {
  margin-bottom: 18px;
}

.tv5-hero-title {
  font-family: var(--tv5-font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--tv5-ink);
  margin: 0 0 18px 0;
}

.tv5-hero-lede {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--tv5-ink-muted);
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 32px;
}

.tv5-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tv5-hero-trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--tv5-border);
}

.tv5-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tv5-font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tv5-ink-muted);
}

.tv5-trust-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tv5-primary-soft);
  color: var(--tv5-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tv5-hero-visual {
  position: relative;
  width: 100%;
}

.tv5-hero-media-wrapper {
  position: relative;
  border-radius: var(--tv5-radius-lg);
  overflow: hidden;
  border: 1px solid var(--tv5-border);
  background: var(--tv5-bg-surface);
  box-shadow: var(--tv5-shadow-lg);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.tv5-hero-media-wrapper img,
.tv5-hero-media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv5-hero-floating-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--tv5-shadow-md);
  z-index: 10;
}

.tv5-floating-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--tv5-radius-sm);
  background: var(--tv5-primary-soft);
  color: var(--tv5-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tv5-floating-title {
  font-family: var(--tv5-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tv5-ink);
}

.tv5-floating-sub {
  font-family: var(--tv5-font-mono);
  font-size: 0.76rem;
  color: var(--tv5-ink-subtle);
}

/* ============================================================
   8. STATS / METRICS STRIP (MOBILE RESPONSIVE & UNIFIED)
   ============================================================ */
.tv5-stats-section {
  position: relative;
  background: var(--tv5-bg-surface);
  border-top: 1px solid var(--tv5-border);
  border-bottom: 1px solid var(--tv5-border);
  padding: 40px 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.tv5-stats-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

.tv5-stats-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv5-stats-bg-media [data-editable="true"] div[x-show="editing"] {
  pointer-events: auto;
}

.tv5-stats-bg-change-hint {
  position: absolute;
  top: 14px;
  right: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FFFFFF;
  color: var(--tv5-primary);
  border: 1px dashed var(--tv5-primary);
  border-radius: var(--tv5-radius-sm);
  font-family: var(--tv5-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--tv5-shadow-sm);
  transition: var(--tv5-transition);
}

.tv5-stats-bg-change-hint:hover {
  background: var(--tv5-primary-subtle);
}

@media (max-width: 640px) {
  .tv5-stats-bg-change-hint {
    top: 10px;
    right: 12px;
    padding: 5px 10px;
    font-size: 0.72rem;
  }
}

.tv5-stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .tv5-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .tv5-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.tv5-stat-card {
  padding: 22px 20px;
  border-radius: var(--tv5-radius-md);
  background: #FFFFFF;
  border: 1px solid var(--tv5-border);
  box-shadow: var(--tv5-shadow-sm);
  transition: var(--tv5-transition);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.tv5-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tv5-shadow-md);
  border-color: var(--tv5-primary);
}

.tv5-stat-value {
  font-family: var(--tv5-font-body);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--tv5-primary);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.tv5-stat-label {
  font-family: var(--tv5-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tv5-ink-muted);
  line-height: 1.4;
}

/* ============================================================
   9. CATEGORIES SHOWCASE
   ============================================================ */
.tv5-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

@media (min-width: 640px) {
  .tv5-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tv5-cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.tv5-cat-card {
  position: relative;
  border-radius: var(--tv5-radius-md);
  overflow: hidden;
  border: 1px solid var(--tv5-border);
  background: var(--tv5-bg-surface);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  box-shadow: var(--tv5-shadow-sm);
  transition: var(--tv5-transition);
}

.tv5-cat-card:hover {
  border-color: var(--tv5-primary);
  transform: translateY(-3px);
  box-shadow: var(--tv5-shadow-md);
}

.tv5-cat-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.tv5-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--tv5-ease);
}

.tv5-cat-card:hover .tv5-cat-media img {
  transform: scale(1.05);
}

.tv5-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(181, 133, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
  z-index: 1;
}

.tv5-cat-content {
  position: relative;
  z-index: 2;
}

.tv5-cat-label {
  display: inline-block;
  font-family: var(--tv5-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tv5-primary-soft);
  margin-bottom: 4px;
}

.tv5-cat-title {
  font-family: var(--tv5-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.tv5-cat-link-cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tv5-font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #E2E8F0;
}

/* ============================================================
   10. PRODUCTS GRID & CARDS
   ============================================================ */
.tv5-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

@media (min-width: 600px) {
  .tv5-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .tv5-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.tv5-product-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-md);
  overflow: hidden;
  box-shadow: var(--tv5-shadow-sm);
  transition: var(--tv5-transition);
}

.tv5-product-card:hover {
  border-color: var(--tv5-primary);
  transform: translateY(-3px);
  box-shadow: var(--tv5-shadow-md);
}

.tv5-product-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--tv5-bg-surface);
  overflow: hidden;
}

.tv5-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--tv5-ease);
}

.tv5-product-card:hover .tv5-product-img {
  transform: scale(1.04);
}

.tv5-product-quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--tv5-primary);
  color: #FFFFFF;
  padding: 8px;
  text-align: center;
  font-family: var(--tv5-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.2s var(--tv5-ease);
}

.tv5-product-card:hover .tv5-product-quick-view {
  transform: translateY(0);
}

.tv5-product-meta {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.tv5-product-cat-tag {
  font-family: var(--tv5-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tv5-primary);
  margin-bottom: 4px;
}

.tv5-product-name {
  font-family: var(--tv5-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tv5-ink);
  line-height: 1.3;
  margin: 0 0 14px 0;
}

.tv5-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--tv5-border);
}

.tv5-product-moq {
  font-family: var(--tv5-font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--tv5-ink-muted);
}

.tv5-product-rfq-badge {
  font-family: var(--tv5-font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--tv5-radius-pill);
  background: var(--tv5-primary-soft);
  color: var(--tv5-primary);
  border: 1px solid var(--tv5-primary-border);
}

/* ============================================================
   11. FACILITY SHOWCASE & MEDIA SLIDER
   ============================================================ */
.tv5-facility-section {
  position: relative;
  background: #FFFFFF;
  padding: 72px 0;
}

.tv5-facility-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
}

.tv5-facility-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv5-media-slider-container {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  border-radius: var(--tv5-radius-md);
  overflow: hidden;
  border: 1px solid var(--tv5-border);
  box-shadow: var(--tv5-shadow-md);
}

/* ============================================================
   12. BLUEPRINT PROCESS (01 - 04)
   ============================================================ */
.tv5-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
}

@media (min-width: 640px) {
  .tv5-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tv5-process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.tv5-process-card {
  background: #FFFFFF;
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-md);
  padding: 28px 20px;
  box-shadow: var(--tv5-shadow-sm);
  transition: var(--tv5-transition);
}

.tv5-process-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tv5-shadow-md);
  border-color: var(--tv5-primary);
}

.tv5-process-num {
  font-family: var(--tv5-font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--tv5-primary);
  line-height: 1;
  margin-bottom: 14px;
}

.tv5-process-step-title {
  font-family: var(--tv5-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tv5-ink);
  margin: 0 0 8px 0;
}

.tv5-process-step-text {
  font-size: 0.88rem;
  color: var(--tv5-ink-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   13. CERTIFICATIONS STRIP
   ============================================================ */
.tv5-certs-section {
  padding: 36px 0;
  background: var(--tv5-bg-surface);
  border-top: 1px solid var(--tv5-border);
  border-bottom: 1px solid var(--tv5-border);
}

.tv5-certs-header {
  text-align: center;
  margin-bottom: 20px;
}

/* ============================================================
   14. WHOLESALE RFQ CTA BANNER
   ============================================================ */
.tv5-cta-section {
  padding: 72px 0;
}

.tv5-cta-banner {
  position: relative;
  border-radius: var(--tv5-radius-lg);
  overflow: hidden;
  border: 1px solid var(--tv5-primary-border);
  background: var(--tv5-primary-soft);
  box-shadow: var(--tv5-shadow-md);
  padding: 56px 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .tv5-cta-banner {
    padding: 72px 40px;
  }
}

.tv5-cta-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  z-index: 0;
}

.tv5-cta-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv5-cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(253, 248, 238, 0.96), rgba(253, 248, 238, 0.85));
  z-index: 1;
}

.tv5-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-inline: auto;
}

.tv5-cta-title {
  font-family: var(--tv5-font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--tv5-ink);
  margin: 14px 0;
  line-height: 1.2;
}

.tv5-cta-desc {
  font-size: 1rem;
  color: var(--tv5-ink-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.tv5-cta-btn-wrap {
  display: flex;
  justify-content: center;
}

/* ============================================================
   15. SHOP CATALOG & UNIFIED SEARCH
   ============================================================ */
.tv5-shop-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 36px;
  background: var(--tv5-bg-surface);
  border-bottom: 1px solid var(--tv5-border);
}

.tv5-shop-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

.tv5-shop-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv5-shop-hero-bg [data-editable="true"] div[x-show="editing"] {
  pointer-events: auto;
}

.tv5-shop-bg-change-hint {
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #FFFFFF;
  color: var(--tv5-primary);
  border: 1px dashed var(--tv5-primary);
  border-radius: var(--tv5-radius-sm);
  font-family: var(--tv5-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--tv5-shadow-sm);
  transition: var(--tv5-transition);
}

.tv5-shop-bg-change-hint:hover {
  background: var(--tv5-primary-subtle);
}

@media (max-width: 640px) {
  .tv5-shop-bg-change-hint {
    top: 10px;
    right: 12px;
    padding: 5px 10px;
    font-size: 0.72rem;
  }
}

.tv5-shop-title {
  font-family: var(--tv5-font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--tv5-ink);
  margin: 6px 0 10px 0;
}

.tv5-shop-subtitle {
  font-size: 0.98rem;
  color: var(--tv5-ink-muted);
  max-width: 60ch;
  margin: 0;
}

.tv5-shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 80px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.tv5-shop-layout > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .tv5-shop-layout {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 96px;
  }
}

/* Fallback if combined on container */
.tv5-container.tv5-shop-layout {
  padding-inline: 20px !important;
}

@media (min-width: 768px) {
  .tv5-container.tv5-shop-layout {
    padding-inline: 32px !important;
  }
}

@media (min-width: 1200px) {
  .tv5-container.tv5-shop-layout {
    padding-inline: 40px !important;
  }
}


.tv5-filter-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-sm);
  color: var(--tv5-ink);
  cursor: pointer;
  box-shadow: var(--tv5-shadow-sm);
}

@media (min-width: 992px) {
  .tv5-filter-toggle-btn {
    display: none;
  }
}

.tv5-filter-toggle-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tv5-font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}

.tv5-filter-active-pill {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--tv5-primary-soft);
  color: var(--tv5-primary);
}

.tv5-sidebar-card {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-md);
  padding: 20px;
  box-shadow: var(--tv5-shadow-sm);
}

@media (min-width: 992px) {
  .tv5-sidebar-card {
    display: block;
    position: sticky;
    top: 100px;
  }
}

.tv5-sidebar-card--mobile-open {
  display: block;
}

.tv5-sidebar-title {
  font-family: var(--tv5-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tv5-primary);
  margin: 0 0 14px 0;
}

.tv5-sidebar-divider {
  height: 1px;
  background: var(--tv5-border);
  margin: 20px 0;
}

/* ============================================================
   Custom Search Box & Submit Button in Sidebar (Unified Precision)
   ============================================================ */
.tv5-search-form {
  width: 100%;
  margin: 0;
  display: block;
}

.tv5-search-input-group {
  display: flex !important;
  align-items: stretch !important;
  background: #FFFFFF !important;
  border: 1.5px solid var(--tv5-border) !important;
  border-radius: var(--tv5-radius-sm) !important;
  height: 44px !important;
  padding: 0 !important;
  overflow: hidden !important;
  transition: border-color 0.2s var(--tv5-ease), box-shadow 0.2s var(--tv5-ease) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.tv5-search-input-group:focus-within {
  border-color: var(--tv5-primary) !important;
  box-shadow: 0 0 0 3px rgba(181, 133, 42, 0.14) !important;
}

/* Hard reset on the inner input to eliminate any nested border or padding mismatch */
.tv5-page .tv5-search-input-group input[type="text"],
.tv5-sidebar-card .tv5-search-input-group input[type="text"],
.tv5-search-wrap .tv5-search-input-group input[type="text"],
.tv5-search-input-group .tv5-search-input,
.tv5-search-input {
  flex: 1 1 auto !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 16px !important;
  margin: 0 !important;
  height: 100% !important;
  line-height: 44px !important;
  border-radius: 0 !important;
  font-family: var(--tv5-font-body) !important;
  font-size: 0.9rem !important;
  color: var(--tv5-ink) !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.tv5-page .tv5-search-input-group input[type="text"]::placeholder,
.tv5-search-input::placeholder {
  color: var(--tv5-ink-light) !important;
  font-size: 0.88rem !important;
}

.tv5-search-submit-btn {
  width: 46px !important;
  height: 100% !important;
  min-height: 44px !important;
  background: var(--tv5-primary) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background-color 0.2s var(--tv5-ease) !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
}

.tv5-search-submit-btn:hover {
  background: var(--tv5-primary-hover) !important;
  color: #FFFFFF !important;
  transform: none !important;
  box-shadow: none !important;
}

.tv5-search-submit-btn svg {
  width: 18px !important;
  height: 18px !important;
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
  transition: transform 0.2s var(--tv5-ease) !important;
}

.tv5-search-submit-btn:hover svg {
  transform: scale(1.12) !important;
}

.tv5-search-submit-btn *,
.tv5-search-submit-btn:hover * {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

/* Fallback & External Livewire Search Controls (for forms without .tv5-search-form) */
.tv5-search-wrap form:not(.tv5-search-form),
.tv5-sidebar-card form:not(.tv5-search-form) {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.tv5-sidebar-card form:not(.tv5-search-form) input[type="text"],
.tv5-search-wrap form:not(.tv5-search-form) input[type="text"] {
  flex: 1 !important;
  height: 44px !important;
  border: 1.5px solid var(--tv5-border) !important;
  border-radius: var(--tv5-radius-sm) !important;
  padding: 0 14px !important;
  font-family: var(--tv5-font-body) !important;
  font-size: 0.9rem !important;
  color: var(--tv5-ink) !important;
  background: #FFFFFF !important;
  box-sizing: border-box !important;
  transition: var(--tv5-transition) !important;
}

.tv5-sidebar-card form:not(.tv5-search-form) input[type="text"]:focus,
.tv5-search-wrap form:not(.tv5-search-form) input[type="text"]:focus {
  border-color: var(--tv5-primary) !important;
  box-shadow: 0 0 0 3px rgba(181, 133, 42, 0.15) !important;
  outline: none !important;
}

.tv5-page form:not(.tv5-search-form) .search-btn,
.tv5-sidebar-card form:not(.tv5-search-form) .search-btn,
.tv5-search-wrap form:not(.tv5-search-form) .search-btn {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--tv5-primary) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--tv5-primary) !important;
  border-radius: var(--tv5-radius-sm) !important;
  box-shadow: 0 2px 8px rgba(181, 133, 42, 0.22) !important;
  cursor: pointer !important;
  transition: var(--tv5-transition) !important;
  flex-shrink: 0 !important;
}

.tv5-page form:not(.tv5-search-form) .search-btn:hover,
.tv5-sidebar-card form:not(.tv5-search-form) .search-btn:hover,
.tv5-search-wrap form:not(.tv5-search-form) .search-btn:hover {
  background: var(--tv5-primary-hover) !important;
  border-color: var(--tv5-primary-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(181, 133, 42, 0.35) !important;
}

.tv5-page form:not(.tv5-search-form) .search-btn *,
.tv5-page form:not(.tv5-search-form) .search-btn:hover * {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

/* Unified Form & Modal Submissions */
.tv5-page form button[type="submit"],
.tv5-page .inquiry-modal-submit-btn,
.tv5-page .tv5-contact-form-panel button[type="submit"],
.tv5-page .inquiry-modal-trigger-btn {
  background: var(--tv5-primary) !important;
  color: #FFFFFF !important;
  border-radius: var(--tv5-radius-sm) !important;
  box-shadow: 0 4px 14px rgba(181, 133, 42, 0.25) !important;
  transition: var(--tv5-transition) !important;
}

.tv5-page form button[type="submit"]:hover,
.tv5-page .inquiry-modal-submit-btn:hover,
.tv5-page .tv5-contact-form-panel button[type="submit"]:hover,
.tv5-page .inquiry-modal-trigger-btn:hover {
  background: var(--tv5-primary-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(181, 133, 42, 0.35) !important;
}

.tv5-page form button[type="submit"] *,
.tv5-page form button[type="submit"]:hover *,
.tv5-page .inquiry-modal-submit-btn *,
.tv5-page .inquiry-modal-submit-btn:hover *,
.tv5-page .inquiry-modal-trigger-btn *,
.tv5-page .inquiry-modal-trigger-btn:hover * {
  color: #FFFFFF !important;
  fill: currentColor !important;
}

.tv5-page .inquiry-modal-badge {
  color: var(--tv5-primary) !important;
  background: var(--tv5-primary-soft) !important;
  border: 1px solid var(--tv5-primary-border) !important;
}

.tv5-page .inquiry-modal-input:focus,
.tv5-page .inquiry-modal-select:focus,
.tv5-page .inquiry-modal-textarea:focus {
  border-color: var(--tv5-primary) !important;
  box-shadow: 0 0 0 3px rgba(181, 133, 42, 0.16) !important;
}

.tv5-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tv5-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--tv5-radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--tv5-ink-muted);
}

.tv5-cat-item:hover,
.tv5-cat-item--active {
  background: var(--tv5-primary-soft);
  color: var(--tv5-primary);
}

.tv5-cat-item--active {
  font-weight: 700;
  border-left: 2px solid var(--tv5-primary);
}

.tv5-cat-arrow {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

/* ============================================================
   16. PRODUCT DETAIL PAGE
   ============================================================ */
.tv5-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--tv5-ink-subtle);
  border-bottom: 1px solid var(--tv5-border);
}

.tv5-bc-current {
  color: var(--tv5-ink);
  font-weight: 600;
}

.tv5-pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding-top: 28px;
  padding-bottom: 64px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.tv5-pd-grid > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .tv5-pd-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 42px;
  }
}

/* Safeguard so Vanguard PDP container never touches screen edges */
.tv5-container.tv5-pd-grid {
  padding-inline: 20px !important;
}

@media (min-width: 768px) {
  .tv5-container.tv5-pd-grid {
    padding-inline: 32px !important;
  }
}

@media (min-width: 1200px) {
  .tv5-container.tv5-pd-grid {
    padding-inline: 40px !important;
  }
}



/* Dual-Engine Media Gallery */
.tv5-pd-primary-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--tv5-radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  border: 1.5px solid var(--tv5-border);
  box-shadow: var(--tv5-shadow-sm);
  margin-bottom: 16px;
}

.tv5-pd-img,
.tv5-pd-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

.tv5-pd-media-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-pill);
  padding: 5px 14px;
  font-family: var(--tv5-font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--tv5-primary);
  z-index: 5;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.tv5-pd-thumbs-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.tv5-pd-thumb-btn {
  width: 76px;
  height: 76px;
  border-radius: var(--tv5-radius-sm);
  overflow: hidden;
  background: #FFFFFF;
  border: 1.5px solid var(--tv5-border);
  cursor: pointer;
  transition: var(--tv5-transition);
  flex-shrink: 0;
  padding: 0;
  position: relative;
}

.tv5-pd-thumb-btn:hover,
.tv5-pd-thumb-btn--active {
  border-color: var(--tv5-primary);
  box-shadow: 0 0 12px var(--tv5-primary-glow);
  transform: translateY(-2px);
}

.tv5-pd-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tv5-pd-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.1rem;
  background: rgba(181, 133, 42, 0.65);
}

/* Blueprint Specifications Card */
.tv5-spec-card {
  margin-top: 28px;
  background: #FFFFFF;
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-md);
  padding: 24px;
  box-shadow: var(--tv5-shadow-sm);
}

.tv5-spec-card-title {
  font-family: var(--tv5-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tv5-ink);
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tv5-border);
}

.tv5-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.tv5-spec-table tr {
  border-bottom: 1px solid var(--tv5-border);
}

.tv5-spec-table tr:last-child {
  border-bottom: none;
}

.tv5-spec-table td {
  padding: 9px 0;
}

.tv5-spec-label {
  color: var(--tv5-ink-subtle);
  font-family: var(--tv5-font-mono);
  font-weight: 600;
  width: 44%;
}

.tv5-spec-val {
  color: var(--tv5-ink);
  font-weight: 600;
}

/* Procurement & Info Card */
.tv5-pd-info-card {
  background: #FFFFFF;
  border: 1.5px solid var(--tv5-border);
  border-radius: var(--tv5-radius-lg);
  padding: 32px;
  box-shadow: var(--tv5-shadow-md);
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.tv5-pd-cat-badge {
  margin-bottom: 8px;
}

.tv5-pd-cat-badge a {
  font-family: var(--tv5-font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--tv5-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.tv5-pd-title {
  font-family: var(--tv5-font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--tv5-ink);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.tv5-pd-sku {
  font-family: var(--tv5-font-mono);
  font-size: 0.8rem;
  color: var(--tv5-ink-subtle);
  margin-bottom: 18px;
}

.tv5-pd-sku-val {
  color: var(--tv5-ink);
  font-weight: 700;
}

/* Commercials Tier Box */
.tv5-pd-commercials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--tv5-primary-soft);
  border: 1.5px solid var(--tv5-primary-border);
  border-radius: var(--tv5-radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.tv5-pd-comm-tier {
  flex: 1;
}

.tv5-pd-comm-label {
  font-family: var(--tv5-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tv5-primary);
  margin-bottom: 4px;
}

.tv5-pd-price {
  font-family: var(--tv5-font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tv5-ink);
}

.tv5-pd-unit {
  font-size: 0.85rem;
  color: var(--tv5-ink-muted);
  font-weight: 400;
}

.tv5-pd-rfq-pill {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tv5-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tv5-pd-moq-col {
  text-align: right;
}

.tv5-pd-moq-val {
  font-family: var(--tv5-font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tv5-ink);
}

/* Badges Row */
.tv5-pd-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* Descriptions */
.tv5-pd-desc-box {
  margin-bottom: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--tv5-border);
}

.tv5-pd-desc-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tv5-ink);
  margin: 0 0 8px 0;
}

.tv5-pd-desc {
  color: var(--tv5-ink-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Action Card & Inquiry Trigger */
.tv5-pd-actions-card {
  background: #FAFAFA;
  border: 1.5px solid var(--tv5-primary-border);
  border-radius: var(--tv5-radius-md);
  padding: 22px;
  margin-bottom: 22px;
}

.tv5-pd-actions-header h4 {
  font-family: var(--tv5-font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--tv5-ink);
  margin: 0 0 4px 0;
}

.tv5-pd-actions-header p {
  font-size: 0.82rem;
  color: var(--tv5-ink-muted);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.tv5-pd-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tv5-page .inquiry-modal-trigger-btn svg,
.tv5-btn svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
}

.tv5-pd-actions .inquiry-modal-trigger-btn {
  width: 100% !important;
  padding: 0.85rem 1.4rem !important;
  background: var(--tv5-primary) !important;
  color: #FFFFFF !important;
  border-radius: var(--tv5-radius-sm) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(181, 133, 42, 0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: var(--tv5-transition) !important;
}

.tv5-pd-actions .inquiry-modal-trigger-btn:hover {
  background: var(--tv5-primary-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(181, 133, 42, 0.35) !important;
}

.tv5-pd-actions .inquiry-modal-trigger-btn * {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

.tv5-pd-share-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--tv5-border);
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.tv5-pd-share-wrap > div {
  flex-wrap: wrap;
}

.tv5-pd-share-label {
  font-family: var(--tv5-font-mono);
  font-size: 0.8rem;
  color: var(--tv5-ink-subtle);
}

/* Compliance Guarantees */
.tv5-pd-guarantees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--tv5-border);
  margin-bottom: 22px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.tv5-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--tv5-ink-muted);
  min-width: 0;
}

.tv5-guarantee-item strong {
  display: block;
  color: var(--tv5-ink);
  font-size: 0.82rem;
  margin-bottom: 2px;
  word-break: break-word;
}

.tv5-guarantee-icon {
  color: var(--tv5-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Recently Viewed on PDP */
.tv5-pd-recently-viewed-wrap {
  padding-top: 18px;
  border-top: 1px solid var(--tv5-border);
  width: 100%;
  box-sizing: border-box;
}

/* Responsive PDP Mobile Polish */
@media (max-width: 991px) {
  .tv5-pd-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .tv5-pd-grid {
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 48px;
  }
  .tv5-pd-info-card {
    padding: 20px 16px;
  }
  .tv5-pd-actions-card {
    padding: 18px 14px;
  }
  .tv5-spec-card {
    padding: 20px 16px;
  }
  .tv5-pd-guarantees {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tv5-pd-commercials {
    padding: 14px 16px;
    gap: 12px;
  }
  .tv5-pd-share-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .tv5-pd-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .tv5-pd-info-card {
    padding: 18px 14px;
  }
  .tv5-pd-actions-card {
    padding: 14px 12px;
  }
  .tv5-spec-card {
    padding: 18px 12px;
  }
  .tv5-spec-table {
    font-size: 0.82rem;
  }
  .tv5-spec-table td {
    padding: 7px 0;
  }
}


/* ============================================================
   17. CONTACT & RFQ
   ============================================================ */
.tv5-contact-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 36px;
  background: var(--tv5-bg-surface);
  border-bottom: 1px solid var(--tv5-border);
  text-align: center;
}

.tv5-contact-title {
  font-family: var(--tv5-font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--tv5-ink);
  margin: 8px 0;
}

.tv5-contact-subtitle {
  font-size: 1rem;
  color: var(--tv5-ink-muted);
  max-width: 58ch;
  margin-inline: auto;
}

.tv5-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 80px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.tv5-contact-layout > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .tv5-contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 96px;
  }
}

/* Fallback if combined on container */
.tv5-container.tv5-contact-layout {
  padding-inline: 20px !important;
}

@media (min-width: 768px) {
  .tv5-container.tv5-contact-layout {
    padding-inline: 32px !important;
  }
}

@media (min-width: 1200px) {
  .tv5-container.tv5-contact-layout {
    padding-inline: 40px !important;
  }
}

.tv5-contact-card {
  background: #FFFFFF;
  border: 1px solid var(--tv5-border);
  border-radius: var(--tv5-radius-md);
  padding: 28px;
  box-shadow: var(--tv5-shadow-sm);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .tv5-contact-layout {
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 60px;
  }
  .tv5-contact-card {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .tv5-contact-card {
    padding: 18px 14px;
  }
}


.tv5-contact-card-title {
  font-family: var(--tv5-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tv5-ink);
  margin: 0 0 6px 0;
}

.tv5-contact-card-desc {
  font-size: 0.9rem;
  color: var(--tv5-ink-muted);
  margin-bottom: 24px;
}

.tv5-contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tv5-contact-detail-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tv5-contact-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--tv5-radius-sm);
  background: var(--tv5-primary-soft);
  border: 1px solid var(--tv5-primary-border);
  color: var(--tv5-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tv5-contact-label {
  display: block;
  font-family: var(--tv5-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tv5-ink-subtle);
  margin-bottom: 2px;
}

.tv5-contact-val {
  font-size: 0.92rem;
  color: var(--tv5-ink);
  font-weight: 600;
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.tv5-footer {
  position: relative;
  overflow: hidden;
  background: var(--tv5-bg-surface);
  border-top: 1px solid var(--tv5-border);
  padding: 60px 0 28px;
}

.tv5-footer-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--tv5-border);
  margin-bottom: 40px;
}

.tv5-footer-cta-heading {
  font-family: var(--tv5-font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  color: var(--tv5-ink);
  margin: 6px 0;
}

.tv5-footer-cta-sub {
  font-size: 0.92rem;
  color: var(--tv5-ink-muted);
  margin: 0;
}

.tv5-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--tv5-border);
}

@media (min-width: 640px) {
  .tv5-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tv5-footer-grid {
    grid-template-columns: 1.4fr 0.9fr 1fr;
    gap: 40px;
  }
}

.tv5-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tv5-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--tv5-ink);
  margin-bottom: 14px;
}

.tv5-brand-accent {
  width: 5px;
  height: 20px;
  border-radius: 2px;
  background: var(--tv5-primary);
}

.tv5-footer-desc {
  color: var(--tv5-ink-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 20px;
}

.tv5-footer-col-title {
  font-family: var(--tv5-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tv5-primary);
  margin: 0 0 16px 0;
}

.tv5-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tv5-footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.86rem;
}

.tv5-footer-icon {
  color: var(--tv5-primary);
  flex-shrink: 0;
}

.tv5-footer-item-label {
  display: block;
  font-family: var(--tv5-font-mono);
  font-size: 0.7rem;
  color: var(--tv5-ink-subtle);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tv5-social-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.tv5-social-list a {
  width: 36px;
  height: 36px;
  border-radius: var(--tv5-radius-sm);
  background: #FFFFFF;
  border: 1px solid var(--tv5-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv5-ink-muted);
}

.tv5-social-list a:hover {
  background: var(--tv5-primary);
  color: #FFFFFF;
  border-color: var(--tv5-primary);
}

.tv5-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--tv5-ink-subtle);
}

.tv5-footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tv5-font-mono);
  font-size: 0.76rem;
  color: var(--tv5-primary);
}

/* ============================================================
   19. OUR STORY SPECIAL PAGE
   ============================================================ */
.tv5-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0;
}

@media (min-width: 992px) {
  .tv5-story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.tv5-story-media-box {
  position: relative;
  border-radius: var(--tv5-radius-md);
  overflow: hidden;
  border: 1px solid var(--tv5-border);
  aspect-ratio: 4 / 3;
}

.tv5-story-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   20. EDIT MODE OUTLINES & EMPTY STATES
   ============================================================ */
.tv5-page [contenteditable="true"] {
  outline: 1.5px dashed var(--tv5-primary) !important;
  outline-offset: 2px;
  border-radius: 3px;
}

.tv5-empty-state {
  text-align: center;
  padding: 40px 16px;
  color: var(--tv5-ink-muted);
  font-size: 0.92rem;
  background: var(--tv5-bg-surface);
  border: 1px dashed var(--tv5-border);
  border-radius: var(--tv5-radius-sm);
}